#include<bits/stdc++.h>
using namespace std;
int main()
{
	double x,y;
	scanf("%lf,%lf",&x,&y);
	if(x*x+y*y<=25) cout<<"In";
	else cout<<"Out";
    return 0;
}
